
package DataProvider;

/**
 *
 * @author Admin
 */
public class DescSorted implements DataProvider<Integer> {

    @Override
    public Integer[] getData(int size) {
        if (size <= 0) {
            return null;
        }
        Integer[] array = new Integer[size];
        for (int i = size - 1; i >= 0; i--) {
            array[i] = i;
        }
        return array;
    }
}
